#ifndef CONTROLLER
#define CONTROLLER

#include <string>
#include <stdexcept>
#include <iostream>
#include <cstdlib>
#include "domain.h"
#include "interface.h"
#include "persistence.h"

using namespace std;

/** Classe modelo de controladora de interacaoes. */
class Controller {
    protected:
        Interface * interface;
        Commando * cmd;

    public:
        Controller(Interface *,Commando *);
        virtual int execute() = 0;
};

#endif // CONTROLLER
